package com.liuzhilong.infrastructure.basic.proxy;

/**
 * <p>实际的对象</p>
 */
public class RealSubject implements Subject {
    @Override
    public void do1() {
        System.out.println(this.getClass().getName()+" do1");
    }

    @Override
    public final String do2() {
        return this.getClass().getName()+" do2";
    }

    @Override
    public String do3(String params) {
        return do2()+" do3 "+params;
    }
}
